﻿using System.Windows;

namespace HSS.Interlink.Client.SL5.TestApp {
	public partial class App : Application {

		public App() {
			this.Startup += this.Application_Startup;
			InitializeComponent();
		}

		private void Application_Startup(object sender, StartupEventArgs e) {
			if (e.InitParams["mainpage"] == "dialog")
				this.RootVisual = new MainPageWithDialog();
			else if (e.InitParams["mainpage"] == "noui")
				this.RootVisual = new NoUIMainPage();
			else
				this.RootVisual = new MainPage();
		}

	}
}
